package For_作业;

public class 菱形方法二 {
    public static void main(String[] args) {
        for (int i = 1; i <=11; i=i+2) {
            for (int j = 11; j >=i ; j=j-2) {
                System.out.print("  ");
            }
            for (int j = 1; j <=i; j=j+1) {
                System.out.print(" *");

            }
            System.out.println();
        }
    }
}
